<!--
 * @Description: 
 * @Author: 李成
 * @CreateTime: 2025-02-27 16:33:36
 * @LastEditors: 李成
 * @UpdateTime: 2025-02-27 16:33:36
-->
<template>
  <div>
    这是home
    <div>
        <p>这是调用base资源的方法后计算的结果 {{ count }}</p>
        <button @click="addCount">add</button>
    </div>
  </div>
</template>

<script lang='ts' setup>
import { ref } from "vue"
import { add } from  "base/utils"
const count = ref(0)
const addCount = () => {
    console.log('是否可以调用公共方法,如果调用成功，那么就是模块联邦成功了', add)
    count.value = add(count.value, 1)
}


</script>

<style lang="scss" scoped>

</style>